part of '../repository.dart';

const _kLexicalItemTypeKey = 'type';
const _kLexicalItemIdKey = 'id';
const _kLexicalItemTitleKey = 'title';
const _kLexicalItemTranslationKey = 'translation';
const _kLexicalItemUseCasesKey = 'use_cases';
const _kLexicalItemProgressKey = 'progress';
const _kLexicalItemExcludedKey = 'excluded';

sealed class _LexicalItemDto {
  String get type;

  String get id;

  String get title;

  String get translation;

  BuiltList<_UseCaseDto> get useCaseDtos;

  _LexicalItemProgressDto? get progressDto;

  bool get excluded;

  Map<String, dynamic> toJson();

  LexicalItem toEntity();
}
